package com.coolcode.vo;

import com.coolcode.dto.LoginRespDto;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
public class LoginRespVO {

    private String username;

    private String token;

    public LoginRespVO(LoginRespDto dto) {
        this.username = dto.getUsername();
        this.token = dto.getToken();
    }
}
